<div class="form-horizontal">
	<div class="form-group" id="userIdDiv">
		<label class="col-sm-2 control-label">Account</label>
		<div class="col-sm-10">
            <input type="text" id="userName" name="userName" class="form-control"  maxlength="40" needvalicate="true" valicate="_required _emailOR_tel _minlen=6" placeholder="Email or Mobile Phone" />
		</div>
	</div>
	<div class="form-group">
    	<label class="col-sm-2 control-label">Verification Code</label>
    	<div class="col-sm-7">
    		<input type="text" id="verifyCode" name="verifyCode" class="form-control" maxlength="6" needvalicate=true valicate="_required _num"  placeholder="Please enter verification code"/>
    	</div>
    	<div class="col-sm-3">
    		<input type="button" id="svc" class="mybtn-primary m3" second="60" onclick="checkUserAndSendVerifyCode();" value="Send"/>
    	</div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">Password</label>
        <div class="col-sm-10">
            <input type="password" id="pwd" name="pwd" needvalicate="true" valicate="_required _minlen=6" class="form-control" placeholder="At least 6 characters"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">Re-enter password</label>
        <div class="col-sm-10">
            <input type="password" id="pwd2" name="pwd2" needvalicate="true" valicate="_required _minlen=6 _equals=pwdForReg" class="form-control" placeholder="Please re-enter your password"/>
        </div>
    </div>
    <div class="form-group">
		<div class="col-sm-12 text-center">
            <input onclick="canSubmit(this);" type="checkbox">
				<span class="p5">By creating an account, you agree to <a>MxsDoc's Conditions of Use</a> and <a>Privacy Notice</a>.</span>
			</input>
       	</div>
	</div>
	<div class="form-group">
		<div class="col-sm-12 text-center">
			<input id="submitBtn" type="submit" class="hidden"/>
				<button  id="submit" type="button" class="btn btnPrimary" onclick="register();" style="width: 288px;height: 42px;" disabled>Sign Up</button>
		</div>
	</div>
</div>
                    
<script src="js/md5.js"></script>
<script src="register.js"></script>
<script type="text/javascript">
	//页面初始化代码    
    $(function(){
    	console.log("register Page init");
		RegisterPageInit();
		$("#userName").click().focus();
	});
</script>